<!--no need to create a form since it is in a page which is encapsulated in a form tag-->
<table class="form-table">
		 
        <tr valign="top">
         	<th scope="row"><label for="animal">Animal Type</label></th>
         		<td>
           			<select id="animal_type" name="animal[species]">
  						<option value="Dog"<?php selected ($species, 'Dog'); ?>>Dog</option>
                		<option value="Cat"<?php selected ($species, 'Cat');?>>Cat</option>
                		<option value="Bird"<?php selected ($species, 'Bird');?>>Bird</option>
                		<option value="Rabbit"<?php selected ($species, 'Rabbit'); ?>>Rabbit</option>
                		<option value="Other"<?php selected ($species, 'Other'); ?>>Other</option>
    				</select>
				</td>
        </tr>
        	
        <tr valign="top">
			<th scope="row"><label for="breed_type">Breed:</label></th>
        		<td><input id ="breed_type" name="animal[breed]" value="<?php echo $breed; ?>"/></td>
 	  	</tr>           
		
         <tr valign="top">
			<th scope="row"><label for="gender_type">Gender:</label></th>
        		<td><select id="gender_type" name="animal[gender]">
  						<option value="Male"<?php selected ($type, 'Male'); ?>>Male</option>
                		<option value="Female"<?php selected ($type, 'Female');?>>Female</option>
                	</select>
                </td>
 	      </tr>  

		 <tr valign="top">
			<th scope="row"><label for="size">Size:</label></th>
        		<td><select id="size" name="animal[size]">
  						<option value="Small"<?php selected ($size, 'Small'); ?>>Small</option>
                		<option value="Medium"<?php selected ($size, 'Medium');?>>Medium</option>
                		<option value="Large"<?php selected ($size, 'Large'); ?>>Large</option>
                		<option value="Extra_Large"<?php selected ($size, 'Extra_Large');?>>Extra Large</option>
                    </select>
                </td>
 	      </tr> 

		  <tr valign="top">
			<th scope="row"><label for="age">Age:</label></th>
        		<td><input id ="age" name="animal[age]" value="<?php echo $age; ?>"/></td>
 	  	  </tr> 

		<th scope="row"><label for="spayed_neutered">Spayed or Neutered?:</label></th>
        		<td><select id="spayed_neutered" name="animal[spay_neut]">
                		<option value="yes"<?php selected ($spay_neut, 'Yes'); ?>>Yes</option>
                		<option value="no"<?php selected ($spay_neut, 'No');?>>No</option>
                	</select>
                </td>
 	      </tr>  

	    
        <tr valign="top">
			<th scope="row"><label for="blog_link">Blog:</label></th>
        	<td><input id ="blog_link" name="animal[blog]" value="<?php echo $blog; ?>"/></td>
    	</tr>
        
        
        <tr valign="top">
			<th scope="row"><label for="foster location">Foster Home Location:</label></th>
        		<td><input id ="foster_location" name="animal[foster_location]" value="<?php echo $foster_location; ?>"/>
                </td>
	  	</tr> 

		<tr valign="top">
        	<th scope="row"><label for="adopted">Check if this pet has been adopted</label></th>
            	<td><input type="checkbox" id="adopted" name="animal[adopted]" value="1" <?php checked($adopted, 1);s?>/></td>
        </tr>
			
           
</table>